﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Event_Planner
{
    public class Material
    {
        //Fields
        private int id;
        private int standId;
        private double price;
        private string name;
        private int quantity;


        //Constructor
        public Material(int materialId, string materialName, double materialPrice, int materialQuantity)
        {
            this.id = materialId;
            this.name = materialName;
            this.price = materialPrice;
            this.quantity = materialQuantity;
        }

        //Properties
        public int Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public double Price
        {
            get { return price; }
            set { price = value; }
        }

        public int StandId
        {
            get { return standId; }
            set { standId = value; }
        }
    }
}
